from collections import namedtuple

Address = namedtuple("Address", ['country', 'province','city'])

def latlon_to_address(lat, lon):
    return Address(
        country=country,
        province=province,
        city=city
    )

addr = latlon_to_address(lat, lon)

